﻿using System.Linq;
using ZBJF.Warranty.Model;
using ZBJF.Warranty.Model.ViewModel.BaseQueryModel;
using ZBJF.Warranty.Model.ViewModel.InfoCollect;

namespace ZBJF.Warranty.IBLL
{
    public partial interface ICollectTypeCollectItemMappingsService
    {
        CollectTypeCollectItemMappings LoadByID(int id);
        bool IsExist(byte collectWithType, int collectItemID, int id = 0);
        bool Delete(int id);
        IQueryable<CollectTypeCollectItemMappings> GetPagingList(CollectTypeCollectItemMappingsModel model, out int total);
    }
}